package com.jt.www.admin.order_pc.service;

import com.jt.www.model.insprerecord.InsPreRecordEntity;
import com.jt.www.model.insprerecord.vo.InsPreParamVO;
import com.jt.www.model.insprerecord.vo.InsPreRecordExportVO;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * @author admin_ltf
 * @create 2019-05-10 11:59
 */
@Service
public interface InsPreRecordService {

    Integer addPreRecordInfo(List<InsPreRecordEntity> insPreRecordEntities);

    Integer updatePreRecordInfo(InsPreRecordEntity insPreRecordEntity);

    HashMap<String, Object> searchInfoByCode(String userCode, String productName, String isNeedContent, Integer page, Integer rows);

    InsPreRecordEntity searchSingleInfo(String id);

    Integer updatePreRecordStatus(String id, String status);

    HashMap<String, Object> searchPreRecordInfo(InsPreParamVO insPreParamVO);

    List<InsPreRecordExportVO> exportList(InsPreParamVO insPreParamVO);
}
